package com.ruoyi.system.domain.vo;

import com.ruoyi.common.annotation.Excel;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

@Schema(description = "设备信息详情")
@Data
public class TbDeviceAndInfoDetailVO {
    @Schema(description = "设备信息ID")
    private Long id;
    @Schema(description = "设备sn")
    private String devSn;
    @Schema(description = "操作系统")
    private String osVer;
    @Schema(description = "存储总容量")
    private Double romTotal;          // 改为 Double
    @Schema(description = "可用存储容量")
    private Double romFree;

    @Schema(description = "设备型号")
    private String devModel;
    @Schema(description = "CPU信息")
    private String cpuInfo;
    @Schema(description = "内存总量")
    private Double memoryTotal;       // 改为 Double
    @Schema(description = "电池健康度")
    private Double batteryHealth;     // 改为 Double

    private String createBy;
    private LocalDateTime createTime;
    private String updateBy;
    private LocalDateTime updateTime;
    @Schema(description = "硬件版本")
    private String hardwareVersion;
    @Schema(description = "累计加电时间")
    private Double powerOnTime;       // 改为 Double
    @Schema(description = "累计开机时间")
    private Double powerOnHours;      // 改为 Double
    @Schema(description = "累计开机次数")
    private Integer powerOnCount;
    @Schema(description = "usb状态")
    private Integer usbState;         // 改为 Integer
    @Schema(description = "lcm温度")
    private String lcmTemperature;    // 改为 String
    @Schema(description = "pcb温度")
    private String pcbTemperature;    // 改为 String
    @Schema(description = "cpu温度")
    private String cpuTemperature;    // 改为 String
    @Schema(description = "内存使用率")
    private String memUsage;          // 改为 String
    @Schema(description = "存储空间使用率")
    private String storageUsage;      // 改为 String
    @Schema(description = "cpu 使用率")
    private String cpuUsage;          // 改为 String
    @Schema(description = "可用内存")
    private Double memoryFree;        // 改为 Double


    @Schema(description = "屏幕温度")
    private Double screenTemp;        // 改为 Double
    @Schema(description = "风扇转速")
    private Double fanSpeed;          // 改为 Double
    @Schema(description = "主板温度")
    private Double motherboardTemp;   // 改为 Double
    @Schema(description = "设备连接状态")
    private Integer connectionStatus; // 改为 Integer
    @Schema(description = "当前执行任务")
    private Integer currentTask;      // 改为 Integer
    @Schema(description = "最后升级状态")
    private Integer lastUpgradeStatus;// 改为 Integer
    @Schema(description = "类似操作系统核心版本号")
    private String versionIdInfo;
    @Schema(description = "实际开机分钟数")
    private Double pwrOnMinReal;      // 改为 Double
    @Schema(description = "临时开机分钟数")
    private Integer pwrOnMinTemp;     // 改为 Integer
    @Schema(description = "飞机号")
    private String airplaneCode;
    @Schema(description = "部件号")
    private String devPartNum;
}
